.class public Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;


# instance fields
.field private a:I

.field private final b:I

.field private final c:I

.field private final d:I

.field private e:Landroid/widget/LinearLayout;

.field private f:Landroid/view/View;

.field private g:Landroid/view/View;

.field private h:Landroid/view/View;

.field private i:Landroid/widget/EditText;

.field private j:Landroid/widget/EditText;

.field private k:Landroid/widget/EditText;

.field private l:Ljava/lang/String;

.field private m:Landroid/widget/Button;

.field private n:Landroid/widget/Button;

.field private o:Lcom/waiqin365/compons/view/c;

.field private p:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v0, 0x0

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a:I

    iput v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->b:I

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->c:I

    const/4 v0, 0x2

    iput v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->d:I

    iput-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->e:Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->f:Landroid/view/View;

    iput-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->g:Landroid/view/View;

    iput-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->h:Landroid/view/View;

    iput-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->i:Landroid/widget/EditText;

    iput-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->j:Landroid/widget/EditText;

    iput-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->k:Landroid/widget/EditText;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/base/login/fragment/activity/o;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/login/fragment/activity/o;-><init>(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->p:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a:I

    return p1
.end method

.method static synthetic a(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->o:Lcom/waiqin365/compons/view/c;

    return-object p1
.end method

.method private a()V
    .locals 6

    const/4 v5, 0x0

    const v0, 0x7f0c007c

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    new-instance v1, Lcom/waiqin365/base/login/fragment/activity/i;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/fragment/activity/i;-><init>(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c007e

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f08044a

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    const v0, 0x7f0c03af

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->e:Landroid/widget/LinearLayout;

    const v0, 0x7f03009e

    invoke-virtual {v2, v0, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->f:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->f:Landroid/view/View;

    const v1, 0x7f0c03b1

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    if-eqz v0, :cond_0

    new-instance v1, Lcom/waiqin365/base/login/fragment/activity/j;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/fragment/activity/j;-><init>(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_0
    const-string/jumbo v0, "cuslogin_mydata_data_mobile"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->f:Landroid/view/View;

    const v3, 0x7f0c03b0

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->i:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->i:Landroid/widget/EditText;

    if-eqz v0, :cond_1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v0

    const/16 v3, 0xb

    if-lt v0, v3, :cond_4

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v3, 0x0

    const/4 v4, 0x3

    invoke-virtual {v1, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, "****"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v3

    add-int/lit8 v3, v3, -0x4

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v4

    invoke-virtual {v1, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->i:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    const v0, 0x7f0300a1

    invoke-virtual {v2, v0, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->g:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->g:Landroid/view/View;

    const v1, 0x7f0c03bd

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->m:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->g:Landroid/view/View;

    const v1, 0x7f0c03bc

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->j:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->m:Landroid/widget/Button;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->m:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/base/login/fragment/activity/k;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/fragment/activity/k;-><init>(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_2
    const v0, 0x7f0300a2

    invoke-virtual {v2, v0, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->h:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->h:Landroid/view/View;

    const v1, 0x7f0c03c0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->n:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->n:Landroid/widget/Button;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->n:Landroid/widget/Button;

    new-instance v1, Lcom/waiqin365/base/login/fragment/activity/m;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/login/fragment/activity/m;-><init>(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->h:Landroid/view/View;

    const v1, 0x7f0c03bf

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->k:Landroid/widget/EditText;

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->c()V

    return-void

    :cond_4
    move-object v0, v1

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->b()V

    return-void
.end method

.method private b()V
    .locals 6

    const/4 v1, 0x1

    iget v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a:I

    if-nez v0, :cond_1

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const/16 v1, 0xfa1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->back()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a:I

    if-ne v0, v1, :cond_2

    const/4 v0, 0x0

    iput v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a:I

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->c()V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->m:Landroid/widget/Button;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0

    :cond_2
    iget v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v2, ""

    const v1, 0x7f080869

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/base/login/fragment/activity/n;

    invoke-direct {v5, p0}, Lcom/waiqin365/base/login/fragment/activity/n;-><init>(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->o:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->o:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f08086d

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->o:Lcom/waiqin365/compons/view/c;

    const v1, 0x7f0802c4

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->o:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->c()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->j:Landroid/widget/EditText;

    return-object v0
.end method

.method private c()V
    .locals 4

    const/4 v3, -0x1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->e:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a:I

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->j:Landroid/widget/EditText;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->j:Landroid/widget/EditText;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->f:Landroid/view/View;

    new-instance v2, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v2, v3, v3}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_3

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->g:Landroid/view/View;

    new-instance v2, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v2, v3, v3}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    :cond_3
    iget v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->e:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->h:Landroid/view/View;

    new-instance v2, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v2, v3, v3}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0
.end method

.method static synthetic d(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->o:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private d()V
    .locals 5

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->m:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->j:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->i:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-nez v1, :cond_1

    :cond_0
    const v0, 0x7f08019f

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->m:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setEnabled(Z)V

    :goto_0
    return-void

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    const/16 v2, 0xb

    if-eq v1, v2, :cond_2

    const v0, 0x7f080631

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->m:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const v0, 0x7f08032a

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->m:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0

    :cond_3
    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    invoke-static {v1}, Lcom/waiqin365/base/login/d/g;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/base/login/b/a/z;

    iget-object v3, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    const v4, 0x7f0801ba

    invoke-virtual {p0, v4}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v2, v0, v3, v4, v1}, Lcom/waiqin365/base/login/b/a/z;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/base/login/b/c;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->p:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/c;->start()V

    goto :goto_0
.end method

.method private e()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->n:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->k:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-nez v1, :cond_1

    :cond_0
    const v0, 0x7f0801c8

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->n:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    :goto_0
    return-void

    :cond_1
    const-string/jumbo v1, ""

    invoke-virtual {p0, v1}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/waiqin365/base/login/b/a/r;

    iget-object v3, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    invoke-direct {v2, v1, v3, v0}, Lcom/waiqin365/base/login/b/a/r;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/base/login/b/c;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->p:Landroid/os/Handler;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/base/login/b/c;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/login/b/d;)V

    invoke-virtual {v0}, Lcom/waiqin365/base/login/b/c;->start()V

    goto :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->d()V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->e()V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->n:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->m:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->l:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->i:Landroid/widget/EditText;

    return-object v0
.end method


# virtual methods
.method public onBackPressed()V
    .locals 2

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const/16 v1, 0xfa1

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->setResult(ILandroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->back()V

    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f03009d

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/base/login/fragment/activity/AccountSafeBindActivity;->a()V

    return-void
.end method
